package me.jtx.poplar.core.exception.validation;

/**
 * Framework level exception class to provide a general validation exception
 * class to be used by the various validation classes
 *
 * @author: Tong Huazhong(jsyzthz@gmail.com)
 * @copyright: &copy; 2016, Tong Huazhong
 */
public class ValidationException extends Exception {
	private static final long serialVersionUID = 1L;

	@Override
	public String getMessage() {
		return "[Validation Exception] The object under validation failed the check.\n" + super.getMessage();
	}
}
